Skip to content

GH-112675: Move path joining tests into test_posixpath and test_ntpath#112676

Merged
barneygale merged 1 commit intopython:mainfrom
barneygale:reorg-path-joining-tests
Dec 7, 2023
Merged

GH-112675: Move path joining tests into test_posixpath and test_ntpath#112676
barneygale merged 1 commit intopython:mainfrom
barneygale:reorg-path-joining-tests

Conversation

@barneygale
Copy link
Contributor

@barneygale barneygale commented Dec 3, 2023

In test_pathlib, the check_drive_root_parts test methods evaluated both joining and parsing/normalisation of paths. This dates from a time when pathlib implemented both functions itself, but nowadays path joining is done with posixpath.join() and ntpath.join().

This PR moves the joining-related test cases into test_posixpath and test_ntpath.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir topic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant